<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 01:16:57
 * @LastEditTime: 2022-02-18 22:33:21
 * @LastEditors: CHINAKAIYUAN
 * @Description: 
 */

namespace App\Models;

use App\Traits\SoftDeletesTrait;

class MpcBatchDetail extends BaseModel
{
    use SoftDeletesTrait;
    public $timestamps = true;
    public $table = "sys_mpc_batch_detail";
    protected $guarded = [];
    //库位 

    public function batch_storage()
    {

        return $this->belongsTo(MpcBacthStorage::class);
    }

    public function summaryDetail()
    {
        return $this->belongsTo(MpcSummaryDetail::class);
    }
}
